package com.znsd.zl.house.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * mybatis-plus配置
 * @ClassName MybaitsPlusConfig
 * @Description TODO
 * @Author zhubin
 * @Date 2020/8/17 22:28
 * @Version v1.0
 */
@Configuration
public class MybaitsPlusConfig {
	@Bean
	public PaginationInterceptor paginationInterceptor() {
		return new PaginationInterceptor();
	}
}

